func charm.land/lipgloss/v2/table.btoi
21 uses
charm.land/lipgloss/v2/table (current package)
resizing.go#L441: return btoi(r.borderLeft) + btoi(r.borderRight) + (r.columnCount()-1)*btoi(r.borderColumn)
resizing.go#L469: lastIndex := len(r.allRows) - 1 - btoi(hasHeaders)
resizing.go#L472: available := r.tableHeight - btoi(r.borderTop) -
resizing.go#L473: btoi(r.borderBottom) -
resizing.go#L475: btoi(hasHeaders && r.borderHeader)
resizing.go#L478: available += btoi(r.borderRow)
resizing.go#L486: row := r.rowHeights[lastVisibleRowIndex+1+btoi(hasHeaders)] + btoi(r.borderRow)
resizing.go#L487: overflow := bton(lastVisibleRowIndex+1 < lastIndex, 1+btoi(r.borderRow)+r.yPaddingForCell(lastVisibleRowIndex+2, 0))
resizing.go#L500: row := r.rowHeights[firstVisibleRowIndex-1+btoi(hasHeaders)] + btoi(r.borderRow)
table.go#L389: return sum(t.heights) - 1 + btoi(hasHeaders) +
table.go#L390: btoi(t.borderTop) + btoi(t.borderBottom) +
table.go#L391: btoi(t.borderHeader) + t.data.Rows()*btoi(t.borderRow)
table.go#L508: height = t.heights[index+btoi(hasHeaders)]
table.go#L573: height := t.heights[rowIndex+btoi(hasHeaders)]
util.go#L8: func btoi(b bool) int {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)